Socket
Socket
Sign inDemoInstall

chrome-launch

Package Overview
Dependencies
20
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    chrome-launch

Light cross-platform launcher for Google Chrome


Version published
Weekly downloads
8.5K
increased by10.19%
Maintainers
1
Install size
229 kB
Created
Weekly downloads
 

Readme

Source

chrome-launch

Light cross-platform launcher for Google Chrome.

Usage

NPM

process = spawn(url, [options])

Spawns a new Chrome instance in a separate process using child_process.spawn.

Options include:

  • args: additional command-line arguments to pass to Chrome. See here for a full list.
  • dir: user configuration directory to use. By default, one will be created and then removed when the process is killed.
  • env: environment variables to use. Defaults to process.env.
  • nuke: remove opts.dir when the process exits.

The following command-line options are passed to Chrome in addition to the ones you supply:

  • --no-first-run
  • --no-default-browser-check
  • --disable-translate
  • --disable-default-apps
  • --disable-popup-blocking
  • --disable-zero-browsers-open-for-tests
  • --user-data-dir=${opts.dir}

License

MIT. See LICENSE.md for details.

Keywords

FAQs

Last updated on 27 Aug 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc